package com.gitee.ixtf.mongo.kotlinx

import com.gitee.ixtf.core.kotlinx.inputCommand
import com.gitee.ixtf.core.kotlinx.readJson
import org.bson.types.Code

inline fun <reified T> Code.readJson(): T = code.readJson()

inline fun <reified T> Code.inputCommand(): T = code.inputCommand()
